package pl.diagnoser.client.dto;

import com.google.gwt.user.client.rpc.IsSerializable;


public class SymptomDTO implements IsSerializable {

	private Long id;
	private String symptomName;
	private Double symptomConfidence;
	private EstimateDTO estimate;

	public SymptomDTO() {}
	public SymptomDTO( EstimateDTO estimate, String symptomName, Double symptomConfidence, Long id ) {
		this.estimate = estimate;
		this.symptomName = symptomName;
		this.symptomConfidence = symptomConfidence;
		this.id = id;
	}
	public SymptomDTO( EstimateDTO estimate, String symptomName, Double symptomConfidence ) {
		this.estimate = estimate;
		this.symptomName = symptomName;
		this.symptomConfidence = symptomConfidence;
	}
	public SymptomDTO( String symptomName, Double symptomConfidence ) {
		this.estimate = null;
		this.symptomName = symptomName;
		this.symptomConfidence = symptomConfidence;
		this.id = null;
	}
	public SymptomDTO( String symptomName ) {
		this.estimate = null;
		this.symptomName = symptomName;
		this.symptomConfidence = null;
		this.id = null;
	}

	public Long getId() {
		return this.id;
	}

	public void setId( Long id ) {
		this.id = id;
	}

	public String getSymptomName() {
		return symptomName;
	}

	public void setSymptomName( String symptomName ) {
		this.symptomName = symptomName;
	}

	public Double getSymptomConfidence() {
		return this.symptomConfidence;
	}

	public void setSymptomConfidence( Double symptomConfidence ) {
		this.symptomConfidence = symptomConfidence;
	}

	public EstimateDTO getEstimate() {
		return estimate;
	}

	public void setEstimate( EstimateDTO estimate ) {
		this.estimate = estimate;
	}
}